IdeaBlade.Core Assembly > IdeaBlade.Core.Reflection Namespace > AnonymousFns Class > ConstructFromPrototype Method : ConstructFromPrototype<AnonymousType>(AnonymousType,Object[]) Method |
'Declaration
Public Overloads Shared Function ConstructFromPrototype(Of AnonymousType)( _ ByVal protoType As AnonymousType, _ ByVal ParamArray values() As Object _ ) As AnonymousType
'Usage
Dim protoType As AnonymousType Dim values() As Object Dim value As AnonymousType value = AnonymousFns.ConstructFromPrototype(Of AnonymousType)(protoType, values)
public static AnonymousType ConstructFromPrototype<AnonymousType>( AnonymousType protoType, params object[] values )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2